/*
 * copyright 2010
 */
package cc.nuboat.easyjsf.managedbean;

import cc.nuboat.easyjsf.view.UserView;
import java.util.LinkedList;
import java.util.List;
import javax.faces.bean.ManagedBean;

/**
 *
 * @author nuboat 
 */
@ManagedBean
public class UiRepeatManagedBean {

    private List<UserView> uvlist;

    public UiRepeatManagedBean() {
        this.uvlist = new LinkedList<UserView>();

        this.uvlist.add( new UserView("User 1","001","One") );
        this.uvlist.add( new UserView("User 2","002","Two") );
        this.uvlist.add( new UserView("User 3","003","Three") );
    }

    public void setUvlist(List<UserView> uvlist) {
        this.uvlist = uvlist;
    }

    public List<UserView> getUvlist() {
        return uvlist;
    }

}